package org.javaboy.redis_stream_demo.service;

import org.springframework.util.ErrorHandler;

public class ConsumerExceptionHandler implements ErrorHandler {
    @Override
    public void handleError(Throwable t) {
        System.out.println("消费发生异常：" + t.getMessage());
    }
}
